class Task55:
    def run(self, tree):
        if tree is None:
            return 0
        else:
            return max(self.run(tree.left), self.run(tree.right)) + 1
